/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.vportal.portlet.vcms.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the VcmsDiscussion service. Represents a row in the &quot;VcmsDiscussion&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.vportal.portlet.vcms.model.impl.VcmsDiscussionModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.vportal.portlet.vcms.model.impl.VcmsDiscussionImpl}.
 * </p>
 *
 * @author hai
 * @see VcmsDiscussion
 * @see com.vportal.portlet.vcms.model.impl.VcmsDiscussionImpl
 * @see com.vportal.portlet.vcms.model.impl.VcmsDiscussionModelImpl
 * @generated
 */
public interface VcmsDiscussionModel extends BaseModel<VcmsDiscussion> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a vcms discussion model instance should use the {@link VcmsDiscussion} interface instead.
	 */

	/**
	 * Returns the primary key of this vcms discussion.
	 *
	 * @return the primary key of this vcms discussion
	 */
	public String getPrimaryKey();

	/**
	 * Sets the primary key of this vcms discussion.
	 *
	 * @param primaryKey the primary key of this vcms discussion
	 */
	public void setPrimaryKey(String primaryKey);

	/**
	 * Returns the discussion ID of this vcms discussion.
	 *
	 * @return the discussion ID of this vcms discussion
	 */
	@AutoEscape
	public String getDiscussionId();

	/**
	 * Sets the discussion ID of this vcms discussion.
	 *
	 * @param discussionId the discussion ID of this vcms discussion
	 */
	public void setDiscussionId(String discussionId);

	/**
	 * Returns the group ID of this vcms discussion.
	 *
	 * @return the group ID of this vcms discussion
	 */
	public long getGroupId();

	/**
	 * Sets the group ID of this vcms discussion.
	 *
	 * @param groupId the group ID of this vcms discussion
	 */
	public void setGroupId(long groupId);

	/**
	 * Returns the company ID of this vcms discussion.
	 *
	 * @return the company ID of this vcms discussion
	 */
	public long getCompanyId();

	/**
	 * Sets the company ID of this vcms discussion.
	 *
	 * @param companyId the company ID of this vcms discussion
	 */
	public void setCompanyId(long companyId);

	/**
	 * Returns the visitor name of this vcms discussion.
	 *
	 * @return the visitor name of this vcms discussion
	 */
	@AutoEscape
	public String getVisitorName();

	/**
	 * Sets the visitor name of this vcms discussion.
	 *
	 * @param visitorName the visitor name of this vcms discussion
	 */
	public void setVisitorName(String visitorName);

	/**
	 * Returns the visitor email of this vcms discussion.
	 *
	 * @return the visitor email of this vcms discussion
	 */
	@AutoEscape
	public String getVisitorEmail();

	/**
	 * Sets the visitor email of this vcms discussion.
	 *
	 * @param visitorEmail the visitor email of this vcms discussion
	 */
	public void setVisitorEmail(String visitorEmail);

	/**
	 * Returns the visitor phone of this vcms discussion.
	 *
	 * @return the visitor phone of this vcms discussion
	 */
	@AutoEscape
	public String getVisitorPhone();

	/**
	 * Sets the visitor phone of this vcms discussion.
	 *
	 * @param visitorPhone the visitor phone of this vcms discussion
	 */
	public void setVisitorPhone(String visitorPhone);

	/**
	 * Returns the posted date of this vcms discussion.
	 *
	 * @return the posted date of this vcms discussion
	 */
	public Date getPostedDate();

	/**
	 * Sets the posted date of this vcms discussion.
	 *
	 * @param postedDate the posted date of this vcms discussion
	 */
	public void setPostedDate(Date postedDate);

	/**
	 * Returns the approved of this vcms discussion.
	 *
	 * @return the approved of this vcms discussion
	 */
	public boolean getApproved();

	/**
	 * Returns <code>true</code> if this vcms discussion is approved.
	 *
	 * @return <code>true</code> if this vcms discussion is approved; <code>false</code> otherwise
	 */
	public boolean isApproved();

	/**
	 * Sets whether this vcms discussion is approved.
	 *
	 * @param approved the approved of this vcms discussion
	 */
	public void setApproved(boolean approved);

	/**
	 * Returns the approved by user of this vcms discussion.
	 *
	 * @return the approved by user of this vcms discussion
	 */
	@AutoEscape
	public String getApprovedByUser();

	/**
	 * Sets the approved by user of this vcms discussion.
	 *
	 * @param approvedByUser the approved by user of this vcms discussion
	 */
	public void setApprovedByUser(String approvedByUser);

	/**
	 * Returns the approved date of this vcms discussion.
	 *
	 * @return the approved date of this vcms discussion
	 */
	public Date getApprovedDate();

	/**
	 * Sets the approved date of this vcms discussion.
	 *
	 * @param approvedDate the approved date of this vcms discussion
	 */
	public void setApprovedDate(Date approvedDate);

	/**
	 * Returns the article ID of this vcms discussion.
	 *
	 * @return the article ID of this vcms discussion
	 */
	@AutoEscape
	public String getArticleId();

	/**
	 * Sets the article ID of this vcms discussion.
	 *
	 * @param articleId the article ID of this vcms discussion
	 */
	public void setArticleId(String articleId);

	/**
	 * Returns the title of this vcms discussion.
	 *
	 * @return the title of this vcms discussion
	 */
	@AutoEscape
	public String getTitle();

	/**
	 * Sets the title of this vcms discussion.
	 *
	 * @param title the title of this vcms discussion
	 */
	public void setTitle(String title);

	/**
	 * Returns the content of this vcms discussion.
	 *
	 * @return the content of this vcms discussion
	 */
	@AutoEscape
	public String getContent();

	/**
	 * Sets the content of this vcms discussion.
	 *
	 * @param content the content of this vcms discussion
	 */
	public void setContent(String content);

	/**
	 * Returns the language of this vcms discussion.
	 *
	 * @return the language of this vcms discussion
	 */
	@AutoEscape
	public String getLanguage();

	/**
	 * Sets the language of this vcms discussion.
	 *
	 * @param language the language of this vcms discussion
	 */
	public void setLanguage(String language);

	/**
	 * Returns the has attachment of this vcms discussion.
	 *
	 * @return the has attachment of this vcms discussion
	 */
	public boolean getHasAttachment();

	/**
	 * Returns <code>true</code> if this vcms discussion is has attachment.
	 *
	 * @return <code>true</code> if this vcms discussion is has attachment; <code>false</code> otherwise
	 */
	public boolean isHasAttachment();

	/**
	 * Sets whether this vcms discussion is has attachment.
	 *
	 * @param hasAttachment the has attachment of this vcms discussion
	 */
	public void setHasAttachment(boolean hasAttachment);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(VcmsDiscussion vcmsDiscussion);

	public int hashCode();

	public CacheModel<VcmsDiscussion> toCacheModel();

	public VcmsDiscussion toEscapedModel();

	public String toString();

	public String toXmlString();
}